Skip to content
This repository has been archived by the owner on Mar 21, 2019. It is now read-only.

Fix issue with execjs #50

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

rancavil
Copy link

Fixed the problem with execjs adding execjs in Gemfile.

@billybonks
Copy link

what was the problem ?

@rancavil
Copy link
Author

The problem was: When I executed

 $ bundle exec rake db:create

I get the next error
.....
ExecJS::RuntimeUnavailable: Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes.
.....
I added

 gem 'execjs'
 gem 'therubyracer', :platforms => :ruby

In the Gemfile and works for me....

@madaarya
Copy link

i think only include therubyracer gem is enough. No need execjs

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants